import request from '@/utils/request'

export const getCustomerType = () => {
  return request({
    url: 'systemsetting/customer-type-option',
    method: 'get'
  })
}
export const getPaymentTerm = () => {
  return request({
    url: 'payment-term',
    method: 'get'
  })
}

export const getCustomerOptions = () => {
  return request({
    url: 'customer/select',
    method: 'get'
  })
}
export const loadChannels = () => {
  return request({
    url: 'channel-option',
    method: 'get'
  })
}
export const loadCountrys = () => {
  return request({
    url: '/countrys',
    method: 'get'
  })
}
export const loadFbaAddress = () => {
  return request({
    url: '/basesetting/op/fba/all',
    method: 'get'
  })
}
export const loadSurchargOptions = () => {
  return request({
    url: '/channel/surcharge/option',
    method: 'get'
  })
}
